<?php
require_once ('OperatorExpression.php');

/**
 * @author wei.deng
 * @version 1.0
 * @created 05-八月-2011 11:04:55
 */
class EqualsExpression extends OperatorExpression
{

	/**
	 * 
	 * @param context
	 * @param result_l
	 * @param result_r
	 */
	protected function doInterpret(InterpreterContext $context, $result_l, $result_r)
	{
		$context->replace($this, $result_l == $result_r );
	}

}
?>